package com.feib.stms.model;

import java.util.Date;


public class MailQueue extends AuditEntity {


    
    /**
	 * 
	 */
	private static final long serialVersionUID = -8289391082226009565L;

	/**
     * PK in Table
     */
    private Long mailQueuePk;
    
    /**
     * 主旨
     */
    private String mailSubject;
    
    /**
     * 寄件者
     */
    private String mailFrom;
    
    /**
     * 收件者
     */
    private String mailTo;
    
    /**
     * 回覆信件到
     */
    private String mailReturnReceiptTo;
    
    /**
     * 發送內容
     */
    private String mailContent;
    
    /**
     * 內容中需要用到的資源
     */
    private String inlineResource;
    
    /**
     * 進排程時間
     */
    private Date inQueueDate;
    
    /**
     * 處理完畢時間
     */
    private Date outQueueDate;
    
    /**
     * 發送狀態<br>
     * 0: 待發送
     * 10: 發送中
     * 20: 發送成功
     * 30: 發送失敗
     */
    private Integer mailStatus;

    
    /**
     * @return the mailQueuePk
     */

    public Long getMailQueuePk() {
        return mailQueuePk;
    }

    
    /**
     * @param mailQueuePk the mailQueuePk to set
     */
    public void setMailQueuePk(Long mailQueuePk) {
        this.mailQueuePk = mailQueuePk;
    }

    
    /**
     * @return the mailSubject
     */

    public String getMailSubject() {
        return mailSubject;
    }

    
    /**
     * @param mailSubject the mailSubject to set
     */
    public void setMailSubject(String mailSubject) {
        this.mailSubject = mailSubject;
    }

    
    /**
     * @return the mailFrom
     */

    public String getMailFrom() {
        return mailFrom;
    }

    
    /**
     * @param mailFrom the mailFrom to set
     */
    public void setMailFrom(String mailFrom) {
        this.mailFrom = mailFrom;
    }

    
    /**
     * @return the mailTo
     */

    public String getMailTo() {
        return mailTo;
    }

    
    /**
     * @param mailTo the mailTo to set
     */
    public void setMailTo(String mailTo) {
        this.mailTo = mailTo;
    }

    
    /**
     * @return the mailReturnReceiptTo
     */

    public String getMailReturnReceiptTo() {
        return mailReturnReceiptTo;
    }

    
    /**
     * @param mailReturnReceiptTo the mailReturnReceiptTo to set
     */
    public void setMailReturnReceiptTo(String mailReturnReceiptTo) {
        this.mailReturnReceiptTo = mailReturnReceiptTo;
    }

    
    /**
     * @return the mailContent
     */

    public String getMailContent() {
        return mailContent;
    }

    
    /**
     * @param mailContent the mailContent to set
     */
    public void setMailContent(String mailContent) {
        this.mailContent = mailContent;
    }

    
    /**
     * @return the inlineResource
     */

    public String getInlineResource() {
        return inlineResource;
    }

    
    /**
     * @param inlineResource the inlineResource to set
     */
    public void setInlineResource(String inlineResource) {
        this.inlineResource = inlineResource;
    }

    
    /**
     * @return the inQueueDate
     */

    public Date getInQueueDate() {
        return inQueueDate;
    }

    
    /**
     * @param inQueueDate the inQueueDate to set
     */
    public void setInQueueDate(Date inQueueDate) {
        this.inQueueDate = inQueueDate;
    }

    
    /**
     * @return the outQueueDate
     */

    public Date getOutQueueDate() {
        return outQueueDate;
    }

    
    /**
     * @param outQueueDate the outQueueDate to set
     */
    public void setOutQueueDate(Date outQueueDate) {
        this.outQueueDate = outQueueDate;
    }

    
    /**
     * @return the mailStatus
     */
   
    public Integer getMailStatus() {
        return mailStatus;
    }

    
    /**
     * @param mailStatus the mailStatus to set
     */
    public void setMailStatus(Integer mailStatus) {
        this.mailStatus = mailStatus;
    }

}
